package com.zcl.algorithms;

/**
 * @Description:
 * @author: zcl
 * @date: 2021/12/3  18:42
 */
public class Ant {

    private String speed;
    private String climbDirection;

    public Ant() {
    }

    public String getSpeed() {
        return speed;
    }

    public void setSpeed(String speed) {
        this.speed = speed;
    }

    public String getClimbDirection() {
        return climbDirection;
    }

    public void setClimbDirection(String climbDirection) {
        this.climbDirection = climbDirection;
    }

    public Ant(String speed, String climbDirection) {
        this.speed = speed;
        this.climbDirection = climbDirection;
    }

    @Override
    public String toString() {
        return "Ant{" +
                "speed='" + speed + '\'' +
                ", climbDirection='" + climbDirection + '\'' +
                '}';
    }
}
